package com.suxiaoxiao.springbootlearn.designpattern.commandpattern.commands.ceilingfan;

/**
 * 吊扇打开命令
 * @author 、
 */
public class CeilingFanMediumCommand extends BaseCeilingCommand {

    public CeilingFanMediumCommand(CeilingFan ceilingFan) {
        this.ceilingFan = ceilingFan;
    }

    @Override
    protected void subExecute() {
        ceilingFan.medium();
    }

}
